Changed the PID lookup and other optimizations

Followed the Adam's advice to remove _fast functions.
Optimize mpegts_input_recv_packets()