fix inclusion of src-attribute

the old version provoked a compile error and didn't work generally

the gist was forked and updated along the way

this fixes https://github.com/bem/bem-core/issues/670 
please left this unchanged as it'll be ok after merge of your PR