Add pal_lld_toggleport, pal_lld_togglepad definitions and change pal_lld_readlatch definition to fix the bug that consecutive calling palTogglePad or palTogglePort gives wrong result.