Optimize DEX header parsing. Fix 'psp' command

Added r_buf_get_at() method to avoid copies