drivers: staging: prima: fix various 'error: inlining failed'
drivers: staging: prima: fix warning: 'pPacket' may be used uninitialized in this function