boards: Set pinmux.c compilation under switch CONFIG_PINMUX Fix compilation issue for STM32 boards with CONFIG_PINMUX=n Fixes #16177 Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>