XWIKI-10558: Improve the height for select elements of size=0 and size=1

(cherry picked from commit 044b6ccd071a74eb844d207b3d454069bbde6a16)