The flash controller can be obtained at compile time using DEVICE_DT_GET. In this case, the device is not optional since tests fail without it. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>