In rare cases, box-shadow can cause aliasing artifacts on the top and
sides of the cursor box when only the bottom should be filled in to
create an underline.
This replaces the box-shadow style with border-bottom which should be
pixel perfect in all cases.
Fixes: https://github.com/xtermjs/xterm.js/issues/4580