sisfb: move XGI POST RAM type detection into a subroutine