drivers: sensor: dps310 fix out of bounds write
drivers: sensor: dps310 fix out of bounds write

Fixes a copy-paste error which results in an out of bounds write on the
stack.

Signed-off-by: Christoph Reiter <b125ccdc4aea7d1e0d883d875c8a3d0cbefa8343@infineon.com>

finikorg/zephyr,nashif/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,finikorg/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,nashif/zephyr,nashif/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,galak/zephyr,Vudentz/zephyr,finikorg/zephyr,finikorg/zephyr,finikorg/zephyr,nashif/zephyr,nashif/zephyr,Vudentz/zephyr