Fix #9137 base-tag is not outputeed when head-tag has an attribute

http://dev.ckeditor.com/ticket/9137