ast: Replace several AST_NODECLASS_TYPEINI checks with astIsTYPEINI()
rtlib: Only use SEQ_QUERY_WINDOW/CURSOR in Linux build (b01379 regression)
rtlib: Fix data type of the last param of all fb_SerialGetRemaining()'s

in order to match the declaration in fb_serial.h.