Modified local memory init macro to compile also on Apple GeForce 650M driver.

Fixed GPU crashing testcase to check overindexing only when protection is applied.