Using the nrf51xx_peripherals.h vendor header unifies the nrf51 code tree with the nrf52 implementation. It is needed to prevent build errors with the optional nrfx package.