MDL-40996 & MDL-41162 quiz: fix html_writer::div use in 2.4.