Add lock-on support to libretro

Enable lock-on support for Game Genie, Action Replay and Sonic & Knuckles cartridges.