lua: fix ^C^C signal bug

Add sigaction powerpatch option.

Closes #20657.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>