psx_gpu: fix line cmd length and move w/h masking