dspemu.c: condensed getlastbit()

Continuation of #6 after a screwup.