This problem has been fixed in Intel Quartus Prime Standard Edition and Lite Edition software version 17.1.
Update your On-Chip Flash IP core using the software version 17.1 onward and recompile your design project.