net: socket: fix regression causing corrupted poll timeout
net: socket: fix regression causing corrupted poll timeout

k_timeout_t was converted to ticks using a nonsense function
causing poll timeout corruption for offloaded sockets; this
commit uses ticks directly from the struct instead.

Fixes #37472

Signed-off-by: Emil Lindqvist <ae80d870eb40a8fd7c256c0ec3faf2ba511ba134@lindq.gr>

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