keyboard: Replace ifdefs with #pragma once

3 jobs for keyboard-g-declare-type in 15 minutes and 54 seconds (queued for 2 minutes and 58 seconds)